package com.peans.web.controller;

import java.util.Map;

import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RestController;

import com.peans.annotation.MapParam;
import com.peans.common.utils.JsonUtils;
import com.peans.controller.BaseRestController;
import com.peans.web.protocol.TestEo;

@RestController
public class Test3Controller extends BaseRestController {

	
	@PostMapping("/test3")
	public void foo(TestEo eo) {
		JsonUtils.sysout(eo);
		//return "hello";
	}
	
	@PostMapping("/map")
	public void map(@MapParam Map<String, String> map) {
		System.out.println(map);
		//return "hello";
	}
	
}
